<?php

// $Id$

/**
 * This class is needed to circumvent PHP "bug" 33772
 */

/**
 *
 */
require_once(TANGRA_MAIN_DIR.'db/db_config.class.php');
/**
 *
 */
require_once($PATHS->get_hidden().'inc/_sys/dbal_conn.class.php');


class Session_DBC extends DBAL_Conn {
	function __construct($dsn) {
		parent::__construct($dsn);

		$this->execute('SET AUTOCOMMIT=1');
	}

	function __desctruct() {
		session_write_close();
	}
}


